
import { http } from "@/utils"

// 用户登录
export const loginAPI=(data)=>{
    return http({
        url:'/authorizations',
        method:'POST',
        data
    })
}

//获取用户个人信息
export const getUserInfoAPI=()=>{
    return http({
        url:'/user/profile',
        method:'GET'
    })
}